package by.brest.bspc.reporter.jasperreports.connectors;

import com.jaspersoft.mongodb.connection.MongoDbConnection;

/**
 *  This interface is connection to some database.
 *
 * @date: 02.10.13 16:17
 * @author: Natallia
 */
public interface MongoConnection {

    MongoDbConnection connection = null;

    public MongoDbConnection getConnectionInstance();

    public void setConnectionInstance(MongoDbConnection connectionInstance);

    public void close();
}
